import { useMemo, useState } from 'react'

const App: React.FC = () => {
  const [rootRef, setrootRef] = useState(null)

  const platform = useMemo(() => {
    console.log('[ platform rootRef ] >', rootRef)
  }, [rootRef])

  return (
    <div ref={setrootRef}>
      <h1 className="flex">Hello dumi!</h1>
    </div>
  )
}

export default App
